/**
 *
 */
package com.androidnetframe.exception;

/**
 * @author 何强
 *         2015-9-6
 */
public class TypeCode {
/*--------------------------------------------------这里是类型码的集合----------------------------------------------------------------------------*/

		/*服务端接口异常编码 从20000开始-----------------------------------------------------------------------*/
		/*服务端接口异常编码 从20000开始-----------------------------------------------------------------------*/

    /*APP异常编码  从10001开始-----------------------------------------------------------------------*/
    public static final int ClassNotFoundException = 10001;
    public static final int NoSuchMethodException = 10002;
    public static final int IllegalArgumentException = 10003;
    public static final int InvocationTargetException = 10004;
    public static final int UnsupportedEncodingException = 10005;
    public static final int IOException = 10006;
    public static final int NameNotFoundException = 10007;//包名没有发现异常
    public static final int IllegalAccessException = 10008;//参数访问异常，比如：你外部访问一个私有的字段，就会出现参数访问异常.
    public static final int UnCaughtException = 10009;//程序在运行的过程中，产生的未捕获异常
		/*APP异常编码  从10001开始-----------------------------------------------------------------------*/
		
		
		/*网络类型码 从1开始-----------------------------------------------------------------------*/
    /**
     * 正在请求网络的Loadding框
     */
    public static final int requestNetLoadding = 2;
    /**
     * 网络连接失败
     */
    public static final int ConnectFailed = 1;
    /**
     * 网络连接成功
     */
    public static final int ConnectSuccessed = 200;
		/*网络类型码-----------------------------------------------------------------------*/

    /*覆盖在界面上的布局类型码:从30000开始-----------------------------------------------------------------------*/
    public static final int NoNet = 30000;
    public static final int loginNoNet = 30001;
    public static final int loginRequestFailed = 30002;
    public static final int NoData = 30003;

/*--------------------------------------------------这里是类型码的集合----------------------------------------------------------------------------*/

}
